public class DistTable {
    int maxlength;//容量
    int start;//起始地址
    int useFlag;//是否被使用
    DistTable next;//指向下一磁盘块的指针

    public DistTable() {}

    public DistTable(int maxlength, int start, int useFlag, DistTable next) {
        this.maxlength = maxlength;
        this.start = start;
        this.useFlag = useFlag;
        this.next = next;
    }

    public int getMaxlength() {
        return maxlength;
    }

    public void setMaxlength(int maxlength) {
        this.maxlength = maxlength;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(int useFlag) {
        this.useFlag = useFlag;
    }

    public DistTable getNext() {
        return next;
    }

    public void setNext(DistTable next) {
        this.next = next;
    }


}
